<html>
    <head>
        <script type="text/javascript" src="https://wifi.weixin.qq.com/resources/js/wechatticket/wechatutil.js" ></script>
    </head>
    <script>
    Wechat_GotoRedirect(
        '{$wifi.appId}',  
        '{$wifi.extend}',            
        '{$wifi.timestamp}',         
        '{$wifi.sign}',    
        '{$wifi.shopId}', 
        '{$wifi.authUrl}',       
        '{$wifi.mac}', 
        '{$wifi.ssid}'
    );
    </script>
</html>